import Login from '../pages/login'
import Report from '../pages/report'
import Report2 from '../pages/report2'
import Report3 from '../pages/report3'
import Layout from '../pages/home/Layout'

const routerList = [
    { path: "/", element:  <Layout />,code: '/', 
        children: [    {
        path: "/reports", element: '', name: 'reports',code: 'reports',
        children: [
            {
                path: "/reports/report1", element: <Report />, name: 'report1', code: '/reports/report1'
            },
            {
                path: "/reports/report2", element: <Report2 />, name: 'report2', code: '/reports/report2',
            },
            {
                path: "/reports/report3", element: <Report3 />, name: 'report3', code: '/reports/report3',
            }
        ]
    },]


    },
    { path: "/login", element: <Login />, name: 'login' ,code: '/login'},

]

export default routerList 